/**
 * @Author: 焦质晔
 * @Date: 2019/6/20
 * @Last Modified by: max.jianhua
 * @Last Modified time: 2020-11-20 15:21:28
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

//  查询 /ttFiTripartiteRepay/queryVehicleLicense   /ttFiTripartiteRepay/queryVehicleLicense
export const queryList = params => axios.post(`${SERVER.WHOLESALES}/vehicleAgeReminder/queryVehicleAgeReminder`, params);

// 导出 /ttFiTripartiteRepay/vehicleLicenseExportExcel
export const exportExcel = params =>
  axios.post(`${SERVER.WHOLESALES}/vehicleAgeReminder/vehicleAgeReminderExport`, params, {
    responseType: 'blob'
  });
// 获取所有资金类型
export const gettmFiAccountType = params => axios.post(`${SERVER.WHOLESALES}/tmFiAccountType/listBill`, params);

// 经销商票据账户信息查询		/ttFiAccountBill/page
export const queryBill = params => axios.post(`${SERVER.WHOLESALES}/ttFiAccountBill/page`, params);

// 销售订单票据调整		/ttFiAccountBill/changeBill
export const changeBill = params => axios.post(`${SERVER.WHOLESALES}/ttFiAccountBill/changeBill`, params);

// / 导出
export const exporturl = params => axios.post(`/api/cmscloud.excel/downloadExcel/exportExcel/${params.CODE}`, params);
